Home-made Diffusion Model from Scratch to Hatch